package org.thinker.bbs;

public class Criteria {

	private int page;
	private String stype;
	private String keyword;
			
	public Criteria() {
		this(1,null, null);
	}

	public Criteria(int page) {
		this(page, null, null);
	}
		
	public Criteria(int page, String stype, String keyword) {
		super();
		this.page = page;
		this.stype = stype;
		this.keyword = keyword;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public String getStype() {
		return stype;
	}

	public void setStype(String stype) {
		this.stype = stype;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	@Override
	public String toString() {
		return "Criteria [page=" + page + ", stype=" + stype + ", keyword="
				+ keyword + "]";
	}




	
}
